从业机构查询及修改优惠费率活动申请单
根据申请单ID查询申请单结果
从业机构可调用该接口查询优惠费率活动的报名结果。
请求参数 | 类型 | 描述 |
---|---|---|
application_id | string | 申请单编号 |
php
$instance->v3->rateActivity->applications->id->_application_id_->getAsync([
'application_id' => '20000011111',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/rate-activity/applications/id/{application_id}')->getAsync([
'application_id' => '20000011111',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/rate-activity/applications/id/{application_id}']->getAsync([
'application_id' => '20000011111',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->rateActivity->applications->id->_application_id_->get([
'application_id' => '20000011111',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/rate-activity/applications/id/{application_id}')->get([
'application_id' => '20000011111',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/rate-activity/applications/id/{application_id}']->get([
'application_id' => '20000011111',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
application_state | string | 申请单状态 |
sub_mchid | string | 从业机构特约商户号 |
reject_parameter | string | 驳回参数 |
reject_reason | string | 驳回原因 |
pass_time | string | 活动审核通过时间 |
参阅 官方文档
修改单据信息
该接口只适用于修改已经审核失败的单据。
请求参数 | 类型 | 描述 |
---|---|---|
application_id | string | 申请单编号 |
json | object | 声明请求的JSON 数据结构 |
activity_detail_modification | object | 活动报名修改信息 |
activity_rate | string | 活动费率 |
activity_apply_information | object[] | 活动报名材料 |
apply_material_id | string | 材料ID |
apply_material_information | string[] | 材料内容 |
additional_information | object | 补充信息 |
additional_message | string | 补充说明 |
additional_material | string[] | 补充材料 |
php
$instance->v3->rateActivity->applications->id->_application_id_->patchAsync([
'application_id' => '20000011111',
'json' => [
'activity_detail_modification' => [
'activity_rate' => '0.6',
'activity_apply_information' => [[
'apply_material_id' => 'SCHOOL_QUALIFICATION_PROOF',
'apply_material_information' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],],
],
'additional_information' => [
'additional_message' => '特殊情况,说明原因',
'additional_material' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/rate-activity/applications/id/{application_id}')->patchAsync([
'application_id' => '20000011111',
'json' => [
'activity_detail_modification' => [
'activity_rate' => '0.6',
'activity_apply_information' => [[
'apply_material_id' => 'SCHOOL_QUALIFICATION_PROOF',
'apply_material_information' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],],
],
'additional_information' => [
'additional_message' => '特殊情况,说明原因',
'additional_material' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/rate-activity/applications/id/{application_id}']->patchAsync([
'application_id' => '20000011111',
'json' => [
'activity_detail_modification' => [
'activity_rate' => '0.6',
'activity_apply_information' => [[
'apply_material_id' => 'SCHOOL_QUALIFICATION_PROOF',
'apply_material_information' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],],
],
'additional_information' => [
'additional_message' => '特殊情况,说明原因',
'additional_material' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->rateActivity->applications->id->_application_id_->patch([
'application_id' => '20000011111',
'json' => [
'activity_detail_modification' => [
'activity_rate' => '0.6',
'activity_apply_information' => [[
'apply_material_id' => 'SCHOOL_QUALIFICATION_PROOF',
'apply_material_information' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],],
],
'additional_information' => [
'additional_message' => '特殊情况,说明原因',
'additional_material' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/rate-activity/applications/id/{application_id}')->patch([
'application_id' => '20000011111',
'json' => [
'activity_detail_modification' => [
'activity_rate' => '0.6',
'activity_apply_information' => [[
'apply_material_id' => 'SCHOOL_QUALIFICATION_PROOF',
'apply_material_information' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],],
],
'additional_information' => [
'additional_message' => '特殊情况,说明原因',
'additional_material' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/rate-activity/applications/id/{application_id}']->patch([
'application_id' => '20000011111',
'json' => [
'activity_detail_modification' => [
'activity_rate' => '0.6',
'activity_apply_information' => [[
'apply_material_id' => 'SCHOOL_QUALIFICATION_PROOF',
'apply_material_information' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],],
],
'additional_information' => [
'additional_message' => '特殊情况,说明原因',
'additional_material' => ['0P3ng6KTIW4-Q_l2FjKLZuhHjBWoMAjm'],
],
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
application_id | string | 申请单编号 |
参阅 官方文档